package com.storify.entity.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.io.Serializable;
@JsonIgnoreProperties(ignoreUnknown = true)//如果在Redis中存的跟javabean的属性名不一致，可以用这个注解忽略掉不匹配的属性
public class SysSettingsDTO implements Serializable {

    private String registerMailTitle = "邮箱验证码";

    private String registerEmailContent = "您好，您的邮箱验证码是：%s, 15分钟有效";

    private Integer userInitSpace = 5;//5M

    public String getRegisterMailTitle() {
        return registerMailTitle;
    }

    public void setRegisterMailTitle(String registerMailTitle) {
        this.registerMailTitle = registerMailTitle;
    }

    public String getRegisterEmailContent() {
        return registerEmailContent;
    }

    public void setRegisterEmailContent(String registerEmailContent) {
        this.registerEmailContent = registerEmailContent;
    }

    public Integer getUserInitSpace() {
        return userInitSpace;
    }

    public void setUserInitSpace(Integer userInitSpace) {
        this.userInitSpace = userInitSpace;
    }
}

